package com.innovation.sys.common.vo;

import java.io.Serializable;

public class ResponseObject implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String message;
	private int code;
	private Object data;

	public String getMessage() {
		return message;
	}

	public int getCode() {
		return code;
	}

	public Object getData() {
		return data;
	}

	public ResponseObject() {

	}

	public ResponseObject(String message) {
		this.message = message;
	}

	public ResponseObject(Object data) {
		this.data = data;
	}

	public ResponseObject(int code, String message) {
		this.code = code;
		this.message = message;
	}

	public ResponseObject(int code, String message, Object data) {
		this.code = code;
		this.message = message;
		this.data = data;
	}

	@Override
	public String toString() {
		return "ResponseObject [message=" + message + ", code=" + code + ", data=" + data + "]";
	}

}
